package com.c611.smartclassroom.service;

import com.c611.smartclassroom.model.User;

import java.util.List;

public interface UserService {

    public List<User> queryUser(String schoolId, String tBuildName, String name, Integer page, Integer limit);
    public List<User> queryUserByName(String name, Integer page, Integer limit);
    public int addUser(User user);
    public long queryUserCount(String schoolId, String tBuildName, String name);
    public long queryUserCountByName(String name);
    public int saveUser(User user);
    public int delUser(Integer userId);
}
